.goods-item-container {
    width: 21%;
    background-color: #f7f7f7;
    margin: 2%;
    border-radius: 5px;
    transition: all .3s;
    cursor: pointer;


    .goods-item-imgBox {
        position: relative;
        width: 100%;
        height: 0; // 方形容器
        padding-bottom: 100%;
        overflow: hidden;
        margin: 0;

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 3px;
        }
    }

    p {
        width: 90%;
        padding-top: 10px;
        color: $content-color;
        text-align: start;
        margin: 0 auto;
    }

    .desc {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 90%;
        margin: 0 auto;
        padding: 10px 0;

        #price {
            color: $dark-red;
            font-weight: bold;
            font-size: 18px;
        }

        #order-count {
            color: $sub-color;
            line-height: 27px;
        }
    }

    &:hover {
        box-shadow: 0 5px 20px -10px #6d6c6c;
        transform: translateY(-3px);
    }

}